package com.example.shopping.pojo;

/*
Create by 苍狼 于 2020/1/16
站在巅峰看世界，
落在深渊思人生。
*/
//规格选项表
public class SpecificationOption {
    private int id;
    //选项名称
    private String optionName;
    //关联规格表
    private int specId;
    //顺序
    private int order;

    public SpecificationOption() {
    }

    public SpecificationOption(String optionName, int specId, int order) {
        this.optionName = optionName;
        this.specId = specId;
        this.order = order;
    }

    public SpecificationOption(int id, String optionName, int specId, int order) {
        this.id = id;
        this.optionName = optionName;
        this.specId = specId;
        this.order = order;
    }

    @Override
    public String toString() {
        return "SpecificationOption{" +
                "id=" + id +
                ", optionName='" + optionName + '\'' +
                ", specId=" + specId +
                ", order=" + order +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOptionName() {
        return optionName;
    }

    public void setOptionName(String optionName) {
        this.optionName = optionName;
    }

    public int getSpecId() {
        return specId;
    }

    public void setSpecId(int specId) {
        this.specId = specId;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }
}
